package com.huanzhidadi.hystrix.feign.consumer.service;

import com.huanzhidadi.hystrix.feign.consumer.feign.HystrixProviderService;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Component
public class HystrixProviderFallbackService implements HystrixProviderService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "PaymentHystrixService paymentInfo_OK出现异常";
    }

    @Override
    public String paymentInfo_FAIL(Integer id) {
        return "PaymentHystrixService paymentInfo_Fail出现异常";
    }
}
